const redis = require('../index')
class Siwi {
    constructor() {
        this.init()
    }
    async init () {
        const options = {host: '192.168.0.102'}
        const client = await redis.createClient(options)
        const res = await client.hsetAsync('test', 5, 'test999')
        console.log(res)
    }
}

module.exports = new Siwi()